# Contributor: knuxify <knuxify@gmail.com>
# Maintainer: knuxify <knuxify@gmail.com>
pkgname=py3-patatt
pkgver=0.6.3
pkgrel=1
pkgdesc="A simple library to add cryptographic attestation to patches sent via email"
url="https://git.kernel.org/pub/scm/utils/patatt/patatt.git/about/"
arch="noarch"
license="MIT-0"
depends="py3-pynacl"
makedepends="py3-gpep517 py3-setuptools py3-wheel"
subpackages="$pkgname-pyc $pkgname-doc"
source="https://git.kernel.org/pub/scm/utils/patatt/patatt.git/snapshot/patatt-$pkgver.tar.gz"
builddir="$srcdir/patatt-$pkgver"
options="!check" # no test suite

build() {
	gpep517 build-wheel \
		--wheel-dir .dist \
		--output-fd 3 3>&1 >&2
}

package() {
	python3 -m installer -d "$pkgdir" .dist/*.whl
}

sha512sums="
bbbf38fcf62b3f811b141147df2a167d4cfcf7f3f0484a5380c80213edb00aad20f578ae27c560c1266cbce48878072176a0460f09b7bcc5142b9009d8e99e17  patatt-0.6.3.tar.gz
"
